import Vue from 'vue'
import Router from 'vue-router'
import Login from '../components/Login'
import Map from '../components/map'
import SocketRoom from '../components/SocketRoom'
import index from '../components/index'
import generator from '../components/generator/index'
import importTable from '../components/generator/importTable'
Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      name: 'generator',
      component: generator
    },
    {
      path: '/Map',
      name: 'Map',
      component: Map
    },
    {
      path: '/SocketRoom',
      name: 'SocketRoom',
      component: SocketRoom
    },
    {
      path: '/index',
      name: 'index',
      component: index
    },
    {
      path: '/generator',
      name: 'generator',
      component: generator
    },
    {
      path: '/importTable',
      name: 'importTable',
      component: importTable
    },
  ]
})
